create
fun create(context: <Error class: unknown class>, level: ILogger.Level = ILogger.Level.INFO): GraphConverter
Default creator that uses a predefined gson configuration
Parameters
context
A valid application context
level
Minimum log level
fun create(context: <Error class: unknown class>, gson: <Error class: unknown class>, level: ILogger.Level = ILogger.Level.INFO): GraphConverter
Allows you to provide your own Gson configuration which will be used when serialize or deserialize response and request bodies.
Parameters
context
A valid application context
gson
Custom gson implementation
level
Minimum log level